package com.heima.api.article;

import com.heima.model.article.dtos.ArticleDto;
import com.heima.model.common.dtos.ResponseResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
//文章微服务的feign接口
@FeignClient(value = "leadnews-article")//对标nacos注册中心的服务
public interface IArticleClient {
	@PostMapping("api/v1/article/save")
	public ResponseResult save(@RequestBody ArticleDto dto);
}
